package com.financing.wap.dao;

 
import java.sql.SQLException;
import java.util.List;

import com.financing.wap.dto.ActivitesDTO;
import com.financing.wap.dto.ActivitesExpandDTO;

public interface IActivitesDao extends IBaseDao<ActivitesDTO, Integer> {
	
	/**
	 * 根据活动code查询活动
	 * @param activitesCode
	 * @return
	 */
	public ActivitesDTO searchActivitesByCode(String activitesCode);
	
	/**
	 * 更新活动发放总金额
	 * @param dto
	 * @return
	 */
	public int updateActivitesByCode(ActivitesDTO dto);
	
	/**
	 * 根据活动
	 * @param activitesCode
	 * @return
	 */
	public List<ActivitesExpandDTO> searchActivitesExpand(ActivitesExpandDTO bean)
			throws SQLException;

}
